package com.CMS.client.ui.data;

import com.CMS.client.NameTokens;
import com.CMS.client.ui.view.PrivilegeView;
import com.CMS.client.ui.view.RolView;
import com.CMS.client.ui.view.UserView;

public class GestionUserPaneSectionData
{
	private static NavigationPaneRecord[] records;

	  public static NavigationPaneRecord[] getRecords() {
		if (records == null) {
		  records = getNewRecords();
		}
		return records;
	  }

	  public static NavigationPaneRecord[] getNewRecords() {
		return new NavigationPaneRecord[]{
		  new NavigationPaneRecord("privilege", "Privilegios", new PrivilegeView.Factory(), null),
		  new NavigationPaneRecord("rol", NameTokens.ROLVIEW, new RolView.Factory(), null),
		  new NavigationPaneRecord("user", "Usuarios", new UserView.Factory(), null)		  
		};
	  }

}
